package OOday01.HomeWork;

/**
 * @description: TODO
 * @author yumo
 * @version: 1.0
 * @date 2025/3/6 19:14
 */
public class Student extends Person{
    int stuId;
    String className;
    Student(){

    }

    Student(String className,String name,int stuId,int age){
        this.className=className;
        this.stuId=stuId;
        this.name=name;
        this.age=age;
    }
    void study(){
        System.out.println("姓名"+name+"学号"+stuId);
    }
}
